﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Ext.Net;

namespace Sio.Mdm.Web.idm
{
    public partial class Roles : Controls.Page
    {
        protected override void OnLoad(EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Store store = this.GridPanel1.Store.Primary;

                object[] data = new object[]
                {
                    new object[] { "Učitelj", "Gimnazija Mateja Goloba Hočko Pohorje", "1/1 12:00am","", "Aktivna" },
                    new object[] { "Administrator", "Gimnazija Mateja Goloba Hočko Pohorje", "1/1 12:00am","2/1", "Potekla" },
                    new object[] { "Učenec", "Gimnazija Mateja Goloba Hočko Pohorje", "1/1 12:00am","2/1", "Neaktivna" } 
                };

                store.DataSource = data;
                store.DataBind();
            }

            base.OnLoad(e);
        }
    }
}
